package com.leyou.item.service;

import com.leyou.item.entity.Brand;
import com.leyou.item.service.base.BaseService;
import com.leyou.item.vo.PageResult;

import java.util.List;

/**
 * @author linzx
 * @date 2020/3/24
 */
public interface BrandService extends BaseService<Brand> {
    PageResult<Brand> queryBrandByPage(String key, Integer page, Integer rows, String sortBy, Boolean desc);
    int insertCategoryBrand(Long cid,Long bid);



    void InserBrandAndCategoryId(Brand brand, List<Long> cids);



    void updateBrand(Brand brand, List<Long> cids);

    List<Brand> findBrandByCid(Long cid);
}
